Prefer enum glyph_row_area to int where appropriate.
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 28 Aug 2013 11:00:03 +0000 (15:00 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 28 Aug 2013 11:00:03 +0000 (15:00 +0400)
commit52c4113bd285c7761cdbc8bdcd6ea8a8210e4d05
tree9011da1ce0a6d5568cdaccdc07dba4f0444b5243
parentabf76fce7d3993db7b86cc624916b236db83d02a
Prefer enum glyph_row_area to int where appropriate.
* dispextern.h (enum glyph_row_area): Add ANY_AREA member.
Fix comment.
(window_box, window_box_width, window_box_left, window_box_left_offset)
(window_box_right, window_box_right_offset): Adjust prototypes.
* xdisp.c (window_box, window_box_width, window_box_left)
(window_box_left_offset, window_box_right, window_box_right_offset):
Use enum glyph_row_area.  Adjust users and tweak comment where needed.
(window_box_edges): Likewise.  Lost 2nd arg since it is always ANY_AREA.
* nsterm.m (ns_clip_to_row):
* w32term.c (w32_clip_to_row):
* xterm.c (x_clip_to_row): Likewise.
src/ChangeLog
src/dispextern.h
src/dispnew.c
src/nsterm.m
src/w32term.c
src/xdisp.c
src/xterm.c